﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace DreamBox.BLL
{
    public static class Message
    {
        /// <summary>
        /// 页面提示信息跳转
        /// </summary>
        /// <param name="con">页面对象</param>
        /// <param name="msg">提示信息</param>
        /// <param name="url">跳转到的地址</param>
        /// <param name="type">提示类型</param>
        public static void Jump(Htss.Platform.Web.ControllerBox con, string msg, string url, string type)
        {
            con.Response.Redirect("/message?msg=" + msg + "&url=" + url);
        }
        /// <summary>
        /// 页面提示信息跳转
        /// </summary>
        /// <param name="con">页面对象</param>
        /// <param name="msg">提示信息</param>
        /// <param name="url">跳转到的地址</param>
        /// <param name="type">提示类型</param>
        /// <param name="display">是否跳转</param>
        public static void Jump(Htss.Platform.Web.ControllerBox con, string msg, string url, string type, string display)
        {
            con.Response.Redirect("/message?msg=" + msg + "&url=" + url + "&display=" + display);
        }
    }
}
